package main

import (
	"xin-job/client"
	"xin-job/example/job"
)

func main() {
	j := job.EchoJob{Name: "echo_job"} // 新建定时任务

	c := client.GetInstance()
	c.AddHandler(&j)
	c.Start()
}
